package com.simou.vo;

import com.simou.entity.Setmeal;
import com.simou.entity.SetmealDish;

import java.util.ArrayList;
import java.util.List;

// VO是为了返回给前端参数而自定义的类
public class SetmealVo extends Setmeal {

    private String categoryName;

    List<SetmealDish> setmealDishes = new ArrayList<>();

    public List<SetmealDish> getSetmealDishes() {
        return setmealDishes;
    }

    public void setSetmealDishes(List<SetmealDish> setmealDishes) {
        this.setmealDishes = setmealDishes;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
